package fr.upmc.aladyn.server;

import java.util.HashMap;
import java.util.Vector;

import fr.upmc.aladyn.interfaces.IArray;
import fr.upmc.aladyn.interfaces.IStringable;

public class Remove extends Server {

	public Remove(Vector<String> expectedInterfaces, int PORT) {
		super(expectedInterfaces, PORT);
	}

	public boolean remove(HashMap map, String key) {
		if(!map.containsKey(key))
			return false;
		
		map.remove(key);
		return true;
	}
	
}
